home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CICA 1993 April
/
CICA MS Windows - April 1993.iso
/
unzipped
/
programr
/
bcpp
/
owlbwcc
/
bdefproc.rc
< prev
next >
Wrap
Text File
|
1992-02-02
|
2KB
|
31 lines
/*****************************************************************/
/* BDEFPROC.RC defines a simple Borland Windows Custom Control */
/* Dialog Box that can be used as the main window. */
/* Notice the CLASS "BORDLG" to activate the metalic background */
/* Also notice the special "Borshade" Control. */
/*****************************************************************/
#include "windows.h"
#include "bwcc.h"
MAINWINDOWDIALOG DIALOG 21, 19, 150, 121
CAPTION "Button Default Processing"
CLASS "BORDLG"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
BEGIN
CONTROL "", 102, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 1, 67, 150, 1
CONTROL "", 101, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 6, 7, 138, 54
CTEXT "For Buttons ", -1, 12, 24, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
CTEXT "Redefine DefChildProc", -1, 12, 36, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
CTEXT "Note: OK and Cancel don't fall through.", -1, 12, 49, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
CONTROL "Button", 1, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 74, 32, 20
CONTROL "Button", 5, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 96, 32, 20
CONTROL "Button", 2, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 42, 74, 32, 20
CONTROL "Button", 6, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 42, 96, 32, 20
CONTROL "Button", 3, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 76, 74, 32, 20
CONTROL "Button", 7, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 76, 96, 32, 20
CONTROL "Button", 4, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 110, 74, 32, 20
CONTROL "Button", 8, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 110, 96, 32, 20
CTEXT "To Add Default Processing", -1, 14, 14, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
END